<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>常用对象演示页面</title>
    <link rel="stylesheet" href="">
</head>
<body>
<div>
    <b>Request对象</b>
    <p>getAttribute:<span th:text="${#request.getAttribute('requestTest')}"></span></p>
    <p>contextPath:<span th:text="${#request.getContextPath()}"></span></p>
    <b>Session对象</b>
    <p>sessionId: <span th:text="${#session.getId()}"></span></p>
    <b>param名称空间</b>
    <p>请求参数:<span th:text="${param.name}"></span></p>
    <p>sessionId: <span th:text="${session.id}"></span></p>
    <p>sessionSize: <span th:text="${session.size()}"></span></p>
    <b>工具对象</b>
    <p>原始的日期: <span th:text="${student.birthday}"></span></p>
    <p>日期工具对象dates  <span th:text="${#dates.format(student.birthday,'YYYY-MM-DD HH:mm:ss')}"></span></p>
    <p>字符串工具对象strings <span th:text="${#strings.contains(student.name,'j')?'a':'b'}"></span></p>


</div>

</body>
</html>